<?php
/**
 * @version		$Id: default.php 3 2011-12-16 20:19:15Z netix.mail@gmail.com $
 * @package		ALM Hoster
 * @desription	Web hosting and domain menager for resellers
 * @subpackage	Components
 * @copyright	Copyright (C) 2011 ALM Studio. All rights reserved.
 * @author		ALM Studio
 * @email		info@alm-studio.net
 * @link		http://alm-studio.net
 * @license		Commercial
 */
 
// No direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
?>
<?php 
$row = $this->data;
?>
<div><?php echo $this->loadTemplate('menu');?></div>	
<table class="detalji">
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_USERNAME' ); ?>
		</td>
		<td>
			<?php echo $row->user; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_COMPANY' ); ?>
		</td>
		<td>
			<?php echo $row->ClientCompany; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_FULL_NAME' ); ?>
		</td>
		<td>
			<?php echo $row->ClientName; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_ADRESS' ); ?>
		</td>
		<td>
			<?php echo $row->ClientAdress; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_CITY' ); ?>
		</td>
		<td>
			<?php echo $row->ClientCity; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_ZIP' ); ?>
		</td>
		<td>		
			<?php echo $row->ClientZip; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_COUNTRY' ); ?>
		</td>
		<td>
			<?php echo $row->country; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_EMAIL' ); ?>
		</td>
		<td>
			<?php echo $row->email; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_PHONE' ); ?>
		</td>
		<td>
			<?php echo $row->ClientPhone; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_MOBILE' ); ?>
		</td>
		<td>
			<?php echo $row->ClientMobile; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_FAX' ); ?>
		</td>
		<td>
			<?php echo $row->ClientFax; ?>
		</td>
	</tr>
	<tr>
		<td class="naslov">
			<?php echo JText::_( 'COM_ALMHOSTER_CLIENT_CREATED' ); ?>
		</td>
		<td>
			<?php echo $row->ClientCreated; ?>
		</td>
	</tr>	
	</table>
<div>
	<?php $user = JFactory::getUser(); ?>
<a href="<?php echo JRoute::_('index.php?option=com_almhoster&task=client_details.edit&ClientUser='.(int) $user);?>">
	<?php echo JText::_('Edit details'); ?></a>

</div>
<div>
	<?php echo JHtml::_('form.token'); ?>
</div>